//
//  ViewController.m
//  WaterWaveTest
//
//  Created by 雷传营 on 16/5/14.
//  Copyright © 2016年 BrotherCompany. All rights reserved.
//

#import "ViewController.h"
#import "WaterWaveView.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    self.view.backgroundColor = [UIColor whiteColor];
    UIView * view = [[UIView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)];
    view.backgroundColor = [UIColor redColor];
    view.layer.cornerRadius = 50;
    view.layer.masksToBounds = YES;
    WaterWaveView * waterView = [[WaterWaveView alloc]initWithFrame:view.bounds];
    [view addSubview:waterView];
    [self.view addSubview:view];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
